<?php
	DEFINE('H1', 'Read XML Address');
	DEFINE('TITLE','Read XML Address');
	require('includes/header.php');
?>	
	<h2><?PHP echo H1 ?></h2>

<?php
	$xml=simplexml_load_file("misc/address.xml");

	echo "Street is " . $xml->street . "<br />";
	echo "City is " . $xml->city->name . " Language is " . $xml->city['language'] . " <br />";
	echo "County is " . $xml->county . "<br />";
	echo "Zip is " . $xml->city->zip . " <br />";
	echo "Country is " . $xml->country . "<br />";
?>

<?php
	require('includes/footer.php');
?>